﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{

    [Table(Name = "TY_Person")]
    public class TY_PersonInfo
    {
        private string m_BianMa;
        /// <summary> 
        /// 编码 
        /// </summary> 
        [Column(IsPrimaryKey = true, Name = "编码", DbType = "char(6)", Storage = "m_BianMa")]
        public string BianMa
        {
            get { return m_BianMa; }
            set { m_BianMa = value; }
        }

        private string m_XingMing;
        /// <summary> 
        /// 姓名 
        /// </summary> 
        [Column(Name = "姓名", DbType = "nvarchar(50) not null", Storage = "m_XingMing", UpdateCheck = UpdateCheck.Never)]
        public string XingMing
        {
            get { return m_XingMing; }
            set { m_XingMing = value; }
        }

        private string m_XingBie;
        /// <summary> 
        /// 性别 
        /// </summary> 
        [Column(Name = "性别", DbType = "nvarchar(2) not null", Storage = "m_XingBie", UpdateCheck = UpdateCheck.Never)]
        public string XingBie
        {
            get { return m_XingBie; }
            set { m_XingBie = value; }
        }

        private string m_GongHao;
        /// <summary> 
        /// 工号 
        /// </summary> 
        [Column(Name = "工号", DbType = "nvarchar(50) not null", Storage = "m_GongHao", UpdateCheck = UpdateCheck.Never)]
        public string GongHao
        {
            get { return m_GongHao; }
            set { m_GongHao = value; }
        }

        private string m_DengLuMing;
        /// <summary> 
        /// 登录名 
        /// </summary> 
        [Column(Name = "登录名", DbType = "nvarchar(50)", Storage = "m_DengLuMing", UpdateCheck = UpdateCheck.Never)]
        public string DengLuMing
        {
            get { return m_DengLuMing; }
            set { m_DengLuMing = value; }
        }

        private string m_MiMa;
        /// <summary> 
        /// 密码 
        /// </summary> 
        [Column(Name = "密码", DbType = "varchar(100) not null", Storage = "m_MiMa", UpdateCheck = UpdateCheck.Never)]
        public string MiMa
        {
            get { return m_MiMa; }
            set { m_MiMa = value; }
        }

        private int m_JiaoSeBianMa;
        /// <summary> 
        /// 角色编码 
        /// </summary> 
        [Column(Name = "角色编码", DbType = "int not null", Storage = "m_JiaoSeBianMa", UpdateCheck = UpdateCheck.Never)]
        public int JiaoSeBianMa
        {
            get { return m_JiaoSeBianMa; }
            set { m_JiaoSeBianMa = value; }
        }

        private int m_ZhongXinBianMa;
        /// <summary> 
        /// 中心编码 
        /// </summary> 
        [Column(Name = "中心编码", DbType = "int not null", Storage = "m_ZhongXinBianMa", UpdateCheck = UpdateCheck.Never)]
        public int ZhongXinBianMa
        {
            get { return m_ZhongXinBianMa; }
            set { m_ZhongXinBianMa = value; }
        }

        private string m_DiaoDuGuanLianBianMa;
        /// <summary> 
        /// 调度关联编码 
        /// </summary> 
        [Column(Name = "调度关联编码", DbType = "varchar(50)", Storage = "m_DiaoDuGuanLianBianMa", UpdateCheck = UpdateCheck.Never)]
        public string DiaoDuGuanLianBianMa
        {
            get { return m_DiaoDuGuanLianBianMa; }
            set { m_DiaoDuGuanLianBianMa = value; }
        }

        private string m_GuanLiGuanLianBianMa;
        /// <summary> 
        /// 管理关联编码 
        /// </summary> 
        [Column(Name = "管理关联编码", DbType = "varchar(50)", Storage = "m_GuanLiGuanLianBianMa", UpdateCheck = UpdateCheck.Never)]
        public string GuanLiGuanLianBianMa
        {
            get { return m_GuanLiGuanLianBianMa; }
            set { m_GuanLiGuanLianBianMa = value; }
        }

        private string m_GaoZhiGuanLianBianMa;
        /// <summary> 
        /// 告知关联编码 
        /// </summary> 
        [Column(Name = "告知关联编码", DbType = "varchar(50)", Storage = "m_GaoZhiGuanLianBianMa", UpdateCheck = UpdateCheck.Never)]
        public string GaoZhiGuanLianBianMa
        {
            get { return m_GaoZhiGuanLianBianMa; }
            set { m_GaoZhiGuanLianBianMa = value; }
        }

        private string m_BanGongGuanLianBianMa;
        /// <summary> 
        /// 办公关联编码 
        /// </summary> 
        [Column(Name = "办公关联编码", DbType = "varchar(50)", Storage = "m_BanGongGuanLianBianMa", UpdateCheck = UpdateCheck.Never)]
        public string BanGongGuanLianBianMa
        {
            get { return m_BanGongGuanLianBianMa; }
            set { m_BanGongGuanLianBianMa = value; }
        }

    }

}
